/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconTransform: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'rem'} height={size + 'rem'} style={style} {...rest}>
      <path
        d="M268.8 450.5088l71.168 101.888 42.2912-29.5936-139.3664-199.68-139.4176 199.68 42.3424 29.5424L217.2416 450.048v405.1968a39.9872 39.9872 0 0 0 39.9872 39.936h544.512v-51.5584H268.8512V450.5088z m558.592 200.9088V248.8832a39.9872 39.9872 0 0 0-39.9872-40.0384H242.8928v51.6608h532.8896v390.5024l-71.1168-101.888-42.2912 29.5424 139.4176 199.8848 139.2128-199.936-42.3424-29.4912-71.2704 102.2976z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconTransform.defaultProps = {
  size: 22,
};

export default IconTransform;
